#pragma once

#include "Packet.h"

class CHeartbeatPacket
{
public:
	CHeartbeatPacket(UINT32 id);
	~CHeartbeatPacket();

public:
	static const int PACKET_DATA_SIZE = 8;
	static int GetLength() {return PACKET_HEADER_SIZE + PACKET_DATA_SIZE;}

public:
	const char* GetPacket() const;
	const char* GetPacketData() const {return GetPacket() + PACKET_HEADER_SIZE;}

private:
	char* m_pPacket;
};
